﻿--HEADER iComply.ComplianceEvent added fundbook and TPH

exec sp_rename 'iComply.ComplianceEvent.Determinator', 'Discriminator', 'COLUMN'

alter table iComply.ComplianceEvent
add FundBookEntityId int null

GO

alter table iComply.ComplianceEvent
add [EventName]  AS ([Discriminator])